﻿using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class MdAttachmentEntity : EntityBase
	{
		public MdAttachmentTable TableSchema
		{
			get
			{
				return (MdAttachmentTable)_tableSchema;
			}
		}

		public MdAttachmentEntity()
		{
			_tableSchema = MdAttachmentTable.Current;
		}

		#region 属性列表
		
		public String AttachmentID
		{

							
			get{ return Convert.ToString(GetData(MdAttachmentTable.C_ATTACHMENTID));} 

			
			set{ SetData(MdAttachmentTable.C_ATTACHMENTID, value); }
		}

		
		public String FileType
		{

							
			get{ return Convert.ToString(GetData(MdAttachmentTable.C_FILETYPE));} 

			
			set{ SetData(MdAttachmentTable.C_FILETYPE, value); }
		}

		
		public Int32? FileSize
		{

			
			get{ return GetData<Int32>(MdAttachmentTable.C_FILESIZE); }
			
			
			set{ SetData(MdAttachmentTable.C_FILESIZE, value); }
		}

		
		public DateTime? UpDateTime
		{

			
			get{ return GetData<DateTime>(MdAttachmentTable.C_UPDATETIME); }
			
			
			set{ SetData(MdAttachmentTable.C_UPDATETIME, value); }
		}

		
		public String FileURL
		{

							
			get{ return Convert.ToString(GetData(MdAttachmentTable.C_FILEURL));} 

			
			set{ SetData(MdAttachmentTable.C_FILEURL, value); }
		}

		
		public String FileName
		{

							
			get{ return Convert.ToString(GetData(MdAttachmentTable.C_FILENAME));} 

			
			set{ SetData(MdAttachmentTable.C_FILENAME, value); }
		}

		
		public String FormType
		{

							
			get{ return Convert.ToString(GetData(MdAttachmentTable.C_FORMTYPE));} 

			
			set{ SetData(MdAttachmentTable.C_FORMTYPE, value); }
		}

		
		public String FormID
		{

							
			get{ return Convert.ToString(GetData(MdAttachmentTable.C_FORMID));} 

			
			set{ SetData(MdAttachmentTable.C_FORMID, value); }
		}

		
		public String Status
		{

							
			get{ return Convert.ToString(GetData(MdAttachmentTable.C_STATUS));} 

			
			set{ SetData(MdAttachmentTable.C_STATUS, value); }
		}

		
		#endregion
	}
}

